<?php
!defined('M_P') && exit('Forbidden');
require_once R_P.'lib/base/autodata.php';
class AutoDataHouse extends AutoData{
	function AutoDataHouse() {
		$this->__construct();
	}
	function __construct() {
		//$this->_element = L::loadClass('element');
		$this->_initElement();
		//注意，必须函数名称必须得小写
		$this->_allowFunc = array(
			'newsubject',
			'newreply',
			'digestsubject',
			'replysort',
			'hitsort',
			'replysortday',
			'highlightsubject',
			'replysortweek',
			'hitsortday',
			'housepic',
			'newhousearea',
			'hothousearea',
			'groupbuyhousearea',
			'scorehousearea',
			'collecthousearea',
			'newhouseprice',
			'hothouseprice',
			'groupbuyhouseprice',
			'scorehouseprice',
			'collecthouseprice',
		);
	}
	function _initElement() {
		//require_once M_P.'lib/houseelement.class.php';
		$this->_element = House::loadClass('houseelement');
	}
	
}
?>